package com.snail.model.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author 蔡徐坤
 * @Date 2025/7/24 10:59
 * @Description: 战队订阅请求DTO
 */
@Data
public class SubscriptionRequestDTO {

    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    @NotNull(message = "请选择是否自动续费")
    private Boolean autoRenew;

    // 可选：自定义订阅周期（如果允许覆盖战队默认设置）
    private Integer customCycle;
}
